package com.woniuxy.yoga.business.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商家账号表
 * </p>
 *
 * @author 韦用文,刘存益,郎腾霄
 * @since 2023年11月30日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("business_account")
public class BusinessAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商家账号ID
     */
    @TableId(value = "account_id", type = IdType.AUTO)
    private Integer accountId;

    /**
     * 商家账号名
     */
    @TableField("account_name")
    private String accountName;

    /**
     * 注册手机号
     */
    @TableField("account_phone")
    private String accountPhone;

    /**
     * 账号密码
     */
    @TableField("account_password")
    private String accountPassword;

    /**
     * 账号昵称
     */
    @TableField("account_nickname")
    private String accountNickname;

    /**
     * 商家头像
     */
    @TableField("account_header")
    private String accountHeader;

    /**
     * 真实姓名
     */
    @TableField("account_realname")
    private String accountRealname;

    /**
     * 身份证
     */
    @TableField("account_idcard")
    private String accountIdcard;

    /**
     * 注册时间
     */
    @TableField("account_register_time")
    private String accountRegisterTime;

    /**
     * 注销时间
     */
    @TableField("account_remove_time")
    private String accountRemoveTime;

    /**
     * 0正常 1禁用 2删除
     */
    @TableField("account_state")
    private Integer accountState;


}
